package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Mission;
import cn.wolfcode.crm.query.MissionQueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IMissionService {
    int deleteByPrimaryKey(Long id);

    int insert(Mission record);

    Mission selectByPrimaryKey(Long id);

    List<Mission> selectAll();

    int updateByPrimaryKey(Mission record);

    PageResult query(MissionQueryObject qo);

    void changeState(Boolean state, Long id);

    Boolean validateName(String employeeuserame);

}
